package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Supplier {
    private Long id;

    private String name;    //名称

    private String arrears; //应付欠款(元)

    private String refundment; //应收退款(元)

    private String contactsMan; //联系人

    private String address; //地址

    private String tel; //联系电话

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date inputTime;     //添加时间

    private Operator operator; //操作员

    private String telMan;  //联系人

    private String remark;      //备注


}